 
<style>
	.attribute{
		margin-left: 20px;
		margin-top: 30px;
		margin-bottom: 50px;
		width: 720px;
	}

</style>

<input type="hidden" name="roleId" id="roleId" value="<{$roleId}>" />

<div class="attribute">
	<{if $role.state}>
	<table class="table table-striped ">
		<tbody>
			<{if count($data)==0 }>
				<tr>
					<td colspan="4"><font color="red">暂无数据</font></td>
				</tr>
			<{/if}>
			<{foreach from=$data item=item key=key}>
			<tr>
				<{foreach from=$item item=info key=ik1}>
                <td class="odd" style="width: 200px;text-align: left;"><{$info.a_id}></td>
                <td class="even" style="width: 100px;"><{$info.value}></td>
                <{/foreach}>
            </tr>
            <{/foreach}>

		</tbody>
        
    </table>
	<{else}>
    <div class="alert alert-warning" style="margin:0;" role="alert"><{$role.msg}></div>
    <{/if}>
</div>